home *** CD-ROM | disk | FTP | other *** search
-
- // ───────────────────────────────────────────────────────────────────
- // The Aurora Editor v2.0
- // Copyright 1993-1995 nuText Systems. All Rights Reserved Worldwide.
- //
- // Color palette installation macro
- // ───────────────────────────────────────────────────────────────────
-
- // compile time macros and function definitions
- include bootpath "define.aml"
-
- menu "colors"
- item " &Blue and green" "blugreen"
- item " &Fluorescent" "fluoresc"
- item " &Green charcoal" "greench"
- item " &Red and blue" "redblue"
- item " &Wimbledon" "wimbledn"
- end
-
- palette = popup "colors" "Select a color palatte to install" 37
- if palette then
- // backup existing color file
- copyfile (bootpath "COLOR.AML") (bootpath "COLOR.OLD")
- // copy color palette
- if copyfile (getbootpath + "PALETTE\\" + palette + ".AML")
- (bootpath "COLOR.AML") then
- // recompile the editor
- send "recompile"
- end
- end
- // destroy the menu
- destroybuf "colors"
-
-